<h1><%= link_to 'New list', '/', :target => '_top' %></h1>

<%= error_messages_for :list %>

<% form_for(@list) do |f| %>
  <p>
    <b>Title:</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>